gnome_shell_deps += nm_deps
gnome_shell_deps += recorder_deps
+tools_cflags = '-DLOCALEDIR="@0@"'.format(localedir)
+tools_deps = [gio_dep, gjs_dep]
+
libshell_menu_gir_sources = [
'gtkactionmuxer.h',
'gtkactionmuxer.c',
executable('gnome-shell-extension-prefs',
'gnome-shell-extension-prefs.c', js_resources,
- c_args: gnome_shell_cflags,
- dependencies: gnome_shell_deps,
+ c_args: tools_cflags,
+ dependencies: tools_deps,
include_directories: [conf_inc],
- build_rpath: mutter_typelibdir,
- install_rpath: install_rpath,
install: true
)
if have_networkmanager
executable('gnome-shell-portal-helper',
'gnome-shell-portal-helper.c', js_resources,
- c_args: gnome_shell_cflags,
- dependencies: gnome_shell_deps,
+ c_args: tools_cflags,
+ dependencies: tools_deps,
include_directories: [conf_inc],
- build_rpath: mutter_typelibdir,
- install_rpath: install_rpath,
install_dir: libexecdir,
install: true
)
executable('gnome-shell-perf-helper', 'shell-perf-helper.c',
dependencies: [gtk_dep, gio_dep, m_dep],
include_directories: [conf_inc],
- build_rpath: mutter_typelibdir,
- install_rpath: install_rpath,
install_dir: libexecdir,
install: true
)